package com.lastproject.ejb.dao;

import java.util.List;

import javax.ejb.Remote;

import com.lastproject.dto.SubcategoryDTO;

@Remote
public interface SubcategoryDAORemote {

	void create(SubcategoryDTO entity);

	void edit(SubcategoryDTO entity);

	void remove(SubcategoryDTO entity);

	SubcategoryDTO findById(Object id);

	public List<SubcategoryDTO> findAll();

	SubcategoryDTO findByName(String subcategory);
}
